package com.twetec.cms.model.vo.website;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;

public class WebsiteVO extends WebsiteColumnVO {

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "id", example = "12345646546")
    private Long id;

    @ApiModelProperty(value = "域名", example = "http://")
    private String domain;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "pc模板id", example = "12345646546")
    private Long pcTemplateId;

    @ApiModelProperty(value = "pc模板名称", example = "1")
    private String pcTemplateTitle;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "h5模板id", example = "12345646546")
    private Long h5TemplateId;

    @ApiModelProperty(value = "h5模板名称", example = "1")
    private String h5TemplateTitle;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "pc端FtpId", example = "12345646546")
    private Long pcFtpId;

    @ApiModelProperty(value = "pc端Ftp名称", example = "1")
    private String pcFtpTitle;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "h5端FtpId", example = "12345646546")
    private Long h5FtpId;

    @ApiModelProperty(value = "h5端Ftp名称", example = "1")
    private String h5FtpTitle;

    @ApiModelProperty(value = "通知方式 系统消息:SYS_MSG 即时通讯:INSTANT_MSG 短信通知:SHORT_MESSAGE 邮件:MAIL_MSG", example = "SYS_MSG")
    private String noticeWay;

    @ApiModelProperty(value = "消息内容", example = "这是通知内容")
    private String noticeMsg;

    @ApiModelProperty(value = "ftp地址", example = "http://www.baidu.com")
    private String ftpUrl;

    @ApiModelProperty(value = "ftp账号", example = "张三")
    private String ftpAccount;

    @ApiModelProperty(value = "ftp密码", example = "********")
    private String ftpPassword;

    @ApiModelProperty(value = "微信公众号URL", example = "http://www.baidu.com")
    private String weChatUrl;

    @ApiModelProperty(value = "微信公众号TOKEN", example = "JK7654W3Q")
    private String weChatToken;

    @ApiModelProperty(value = "微信公众号EncodingAESKey", example = "FGH21THQ1")
    private String weChatKey;

    @Override
    public Long getId() {
        return id;
    }

    @Override
    public void setId(Long id) {
        this.id = id;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public Long getPcTemplateId() {
        return pcTemplateId;
    }

    public void setPcTemplateId(Long pcTemplateId) {
        this.pcTemplateId = pcTemplateId;
    }

    public String getPcTemplateTitle() {
        return pcTemplateTitle;
    }

    public void setPcTemplateTitle(String pcTemplateTitle) {
        this.pcTemplateTitle = pcTemplateTitle;
    }

    public Long getH5TemplateId() {
        return h5TemplateId;
    }

    public void setH5TemplateId(Long h5TemplateId) {
        this.h5TemplateId = h5TemplateId;
    }

    public String getH5TemplateTitle() {
        return h5TemplateTitle;
    }

    public void setH5TemplateTitle(String h5TemplateTitle) {
        this.h5TemplateTitle = h5TemplateTitle;
    }

    public Long getPcFtpId() {
        return pcFtpId;
    }

    public void setPcFtpId(Long pcFtpId) {
        this.pcFtpId = pcFtpId;
    }

    public String getPcFtpTitle() {
        return pcFtpTitle;
    }

    public void setPcFtpTitle(String pcFtpTitle) {
        this.pcFtpTitle = pcFtpTitle;
    }

    public Long getH5FtpId() {
        return h5FtpId;
    }

    public void setH5FtpId(Long h5FtpId) {
        this.h5FtpId = h5FtpId;
    }

    public String getH5FtpTitle() {
        return h5FtpTitle;
    }

    public void setH5FtpTitle(String h5FtpTitle) {
        this.h5FtpTitle = h5FtpTitle;
    }

    public String getNoticeWay() {
        return noticeWay;
    }

    public void setNoticeWay(String noticeWay) {
        this.noticeWay = noticeWay;
    }

    public String getNoticeMsg() {
        return noticeMsg;
    }

    public void setNoticeMsg(String noticeMsg) {
        this.noticeMsg = noticeMsg;
    }

    public String getFtpUrl() {
        return ftpUrl;
    }

    public void setFtpUrl(String ftpUrl) {
        this.ftpUrl = ftpUrl;
    }

    public String getFtpAccount() {
        return ftpAccount;
    }

    public void setFtpAccount(String ftpAccount) {
        this.ftpAccount = ftpAccount;
    }

    public String getFtpPassword() {
        return ftpPassword;
    }

    public void setFtpPassword(String ftpPassword) {
        this.ftpPassword = ftpPassword;
    }

    public String getWeChatUrl() {
        return weChatUrl;
    }

    public void setWeChatUrl(String weChatUrl) {
        this.weChatUrl = weChatUrl;
    }

    public String getWeChatToken() {
        return weChatToken;
    }

    public void setWeChatToken(String weChatToken) {
        this.weChatToken = weChatToken;
    }

    public String getWeChatKey() {
        return weChatKey;
    }

    public void setWeChatKey(String weChatKey) {
        this.weChatKey = weChatKey;
    }

    @Override
    public String toString() {
        return "WebsiteVO{" +
                "id=" + id +
                ", domain='" + domain + '\'' +
                ", pcTemplateId=" + pcTemplateId +
                ", pcTemplateTitle='" + pcTemplateTitle + '\'' +
                ", h5TemplateId=" + h5TemplateId +
                ", h5TemplateTitle='" + h5TemplateTitle + '\'' +
                ", pcFtpId=" + pcFtpId +
                ", pcFtpTitle='" + pcFtpTitle + '\'' +
                ", h5FtpId=" + h5FtpId +
                ", h5FtpTitle='" + h5FtpTitle + '\'' +
                ", noticeWay='" + noticeWay + '\'' +
                ", noticeMsg='" + noticeMsg + '\'' +
                ", ftpUrl='" + ftpUrl + '\'' +
                ", ftpAccount='" + ftpAccount + '\'' +
                ", ftpPassword='" + ftpPassword + '\'' +
                ", weChatUrl='" + weChatUrl + '\'' +
                ", weChatToken='" + weChatToken + '\'' +
                ", weChatKey='" + weChatKey + '\'' +
                '}';
    }
}
